package me.zhengjie.minbearwcs.dao.rework.inf;

import me.zhengjie.minbearwcs.entity.PO.wcs.rework.ReworkTaskRecord;
import me.zhengjie.minbearwcs.entity.PO.wcs.rework.status.ReworkTaskRecordStatus;

import java.time.LocalDateTime;

public interface ReworkTaskRecordDao {
    boolean insert(ReworkTaskRecord reworkTaskRecord);

    ReworkTaskRecord selectByRecordId(String detailId);

    boolean updateStartTimeByRecordId(String recordId, LocalDateTime localDateTime);

    boolean updateStatusByRecordId(String recordId, ReworkTaskRecordStatus status);

    boolean updateEndPointByRecordId(String recordId, String endPoint);

    boolean deleteById(Integer id);
}
